package com.kakalog.main.gpt;

import java.io.Serializable;
import java.util.List;

import com.kakalog.main.gpt.ChatMessage;
import lombok.Builder;
import lombok.Data;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Thoughtful
 * @createTime 2023/3/24 - 00:33
 **/
@Data
@Slf4j
public class ChatGPTParam implements Serializable {

    @NonNull
    private String model = "gpt-3.5-turbo";
    /**
     * 问题描述
     */
    @NonNull
    private List<ChatMessage> messages;

    public ChatGPTParam() {

    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<ChatMessage> getMessages() {
        return messages;
    }

    public void setMessages(List<ChatMessage> messages) {
        this.messages = messages;
    }
}
